
package com.sasis.service;

import java.util.List;

import com.sasis.service.Manager;
import com.sasis.model.WorkLog;

public interface WorkLogManager extends Manager {
    /**
     * Retrieves all of the workLogs
     */
    public List getWorkLogs(WorkLog workLog);

    /**
     * Gets workLog's information based on id.
     * @param id the workLog's id
     * @return workLog populated workLog object
     */
    public WorkLog getWorkLog(final String id);

    /**
     * Saves a workLog's information
     * @param workLog the object to be saved
     */
    public void saveWorkLog(WorkLog workLog);

    /**
     * Removes a workLog from the database by id
     * @param id the workLog's id
     */
    public void removeWorkLog(final String id);
}

